#ifndef XMIIMPORT_DIALOG_H
#define XMIIMPORT_DIALOG_H

#include <QtGui/QDialog>

QT_BEGIN_NAMESPACE
class QLabel;
QT_END_NAMESPACE

namespace core
{
class IContainerDocument;
}

namespace swp
{

class XmiImportDialog : public QDialog
{
    Q_OBJECT

public:
    XmiImportDialog(const QSharedPointer<core::IContainerDocument>& project,
        QWidget* parent = 0);
    ~XmiImportDialog();

public slots:
    void reject();

private slots:
    void import();

private:
    QSharedPointer<core::IContainerDocument> m_project;
    QLabel* m_status;
    QPushButton* m_import;
    QPushButton* m_cancel;
    bool m_inImport;
};

} // namespace swp

#endif
